package com.flashphoner.api
{
	import com.adobe.cairngorm.control.CairngormEvent;
	
	import flash.events.Event;
	
	/**
	 * Phone event - describe all phone events
	 * **/
	internal class MainEvent extends CairngormEvent
	{	
		public static const IN:String = "IN";
		public static const OUT:String = "OUT";
		public static const TALK:String = "TALK";
		public static const BUSY:String = "BUSY";
		public static const FINISH:String = "FINISH";
		public static const SESSION_PROGRESS:String = "SESSION_PROGRESS";
		public static const CONNECTED:String = "CONNECTED";
		public static const REGISTERED:String = "REGISTERED";
		public static const DISCONNECT:String = "DISCONNECT";
		
		public var obj:Object;
		public var flashAPI:Flash_API;
				
		public function MainEvent(type:String, flashAPI:Flash_API, obj:Object=null):void
		{
			super(type);
			this.obj = obj;	
			this.flashAPI = flashAPI;
		}
		
	}
}